Optimal. Leaf size=88 \[ -\frac {\left (b^2-4 a c\right )^2}{112 c^3 d (b d+2 c d x)^{7/2}}+\frac {b^2-4 a c}{24 c^3 d^3 (b d+2 c d x)^{3/2}}+\frac {\sqrt {b d+2 c d x}}{16 c^3 d^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {697}
\begin {gather*} \frac {b^2-4 a c}{24 c^3 d^3 (b d+2 c d x)^{3/2}}-\frac {\left (b^2-4 a c\right )^2}{112 c^3 d (b d+2 c d x)^{7/2}}+\frac {\sqrt {b d+2 c d x}}{16 c^3 d^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 697
Rubi steps
\begin {align*} \int \frac {\left (a+b x+c x^2\right )^2}{(b d+2 c d x)^{9/2}} \, dx &=\int \left (\frac {\left (-b^2+4 a c\right )^2}{16 c^2 (b d+2 c d x)^{9/2}}+\frac {-b^2+4 a c}{8 c^2 d^2 (b d+2 c d x)^{5/2}}+\frac {1}{16 c^2 d^4 \sqrt {b d+2 c d x}}\right ) \, dx\\ &=-\frac {\left (b^2-4 a c\right )^2}{112 c^3 d (b d+2 c d x)^{7/2}}+\frac {b^2-4 a c}{24 c^3 d^3 (b d+2 c d x)^{3/2}}+\frac {\sqrt {b d+2 c d x}}{16 c^3 d^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 78, normalized size = 0.89 \begin {gather*} \frac {-3 b^4+24 a b^2 c-48 a^2 c^2+14 b^2 (b+2 c x)^2-56 a c (b+2 c x)^2+21 (b+2 c x)^4}{336 c^3 d (d (b+2 c x))^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.67, size = 82, normalized size = 0.93
method | result | size |
derivativedivides | \(\frac {\sqrt {2 c d x +b d}-\frac {2 d^{2} \left (4 a c -b^{2}\right )}{3 \left (2 c d x +b d \right )^{\frac {3}{2}}}-\frac {d^{4} \left (16 a^{2} c^{2}-8 a c \,b^{2}+b^{4}\right )}{7 \left (2 c d x +b d \right )^{\frac {7}{2}}}}{16 c^{3} d^{5}}\) | \(82\) |
default | \(\frac {\sqrt {2 c d x +b d}-\frac {2 d^{2} \left (4 a c -b^{2}\right )}{3 \left (2 c d x +b d \right )^{\frac {3}{2}}}-\frac {d^{4} \left (16 a^{2} c^{2}-8 a c \,b^{2}+b^{4}\right )}{7 \left (2 c d x +b d \right )^{\frac {7}{2}}}}{16 c^{3} d^{5}}\) | \(82\) |
gosper | \(-\frac {\left (2 c x +b \right ) \left (-21 c^{4} x^{4}-42 b \,c^{3} x^{3}+14 x^{2} c^{3} a -35 b^{2} c^{2} x^{2}+14 x a b \,c^{2}-14 b^{3} c x +3 a^{2} c^{2}+2 a c \,b^{2}-2 b^{4}\right )}{21 c^{3} \left (2 c d x +b d \right )^{\frac {9}{2}}}\) | \(96\) |
trager | \(-\frac {\left (-21 c^{4} x^{4}-42 b \,c^{3} x^{3}+14 x^{2} c^{3} a -35 b^{2} c^{2} x^{2}+14 x a b \,c^{2}-14 b^{3} c x +3 a^{2} c^{2}+2 a c \,b^{2}-2 b^{4}\right ) \sqrt {2 c d x +b d}}{21 d^{5} \left (2 c x +b \right )^{4} c^{3}}\) | \(101\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 92, normalized size = 1.05 \begin {gather*} \frac {\frac {21 \, \sqrt {2 \, c d x + b d}}{c^{2} d^{4}} + \frac {14 \, {\left (2 \, c d x + b d\right )}^{2} {\left (b^{2} - 4 \, a c\right )} - 3 \, {\left (b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}\right )} d^{2}}{{\left (2 \, c d x + b d\right )}^{\frac {7}{2}} c^{2} d^{2}}}{336 \, c d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.66, size = 149, normalized size = 1.69 \begin {gather*} \frac {{\left (21 \, c^{4} x^{4} + 42 \, b c^{3} x^{3} + 2 \, b^{4} - 2 \, a b^{2} c - 3 \, a^{2} c^{2} + 7 \, {\left (5 \, b^{2} c^{2} - 2 \, a c^{3}\right )} x^{2} + 14 \, {\left (b^{3} c - a b c^{2}\right )} x\right )} \sqrt {2 \, c d x + b d}}{21 \, {\left (16 \, c^{7} d^{5} x^{4} + 32 \, b c^{6} d^{5} x^{3} + 24 \, b^{2} c^{5} d^{5} x^{2} + 8 \, b^{3} c^{4} d^{5} x + b^{4} c^{3} d^{5}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 826 vs.
\(2 (82) = 164\).
time = 0.91, size = 826, normalized size = 9.39 \begin {gather*} \begin {cases} - \frac {3 a^{2} c^{2} \sqrt {b d + 2 c d x}}{21 b^{4} c^{3} d^{5} + 168 b^{3} c^{4} d^{5} x + 504 b^{2} c^{5} d^{5} x^{2} + 672 b c^{6} d^{5} x^{3} + 336 c^{7} d^{5} x^{4}} - \frac {2 a b^{2} c \sqrt {b d + 2 c d x}}{21 b^{4} c^{3} d^{5} + 168 b^{3} c^{4} d^{5} x + 504 b^{2} c^{5} d^{5} x^{2} + 672 b c^{6} d^{5} x^{3} + 336 c^{7} d^{5} x^{4}} - \frac {14 a b c^{2} x \sqrt {b d + 2 c d x}}{21 b^{4} c^{3} d^{5} + 168 b^{3} c^{4} d^{5} x + 504 b^{2} c^{5} d^{5} x^{2} + 672 b c^{6} d^{5} x^{3} + 336 c^{7} d^{5} x^{4}} - \frac {14 a c^{3} x^{2} \sqrt {b d + 2 c d x}}{21 b^{4} c^{3} d^{5} + 168 b^{3} c^{4} d^{5} x + 504 b^{2} c^{5} d^{5} x^{2} + 672 b c^{6} d^{5} x^{3} + 336 c^{7} d^{5} x^{4}} + \frac {2 b^{4} \sqrt {b d + 2 c d x}}{21 b^{4} c^{3} d^{5} + 168 b^{3} c^{4} d^{5} x + 504 b^{2} c^{5} d^{5} x^{2} + 672 b c^{6} d^{5} x^{3} + 336 c^{7} d^{5} x^{4}} + \frac {14 b^{3} c x \sqrt {b d + 2 c d x}}{21 b^{4} c^{3} d^{5} + 168 b^{3} c^{4} d^{5} x + 504 b^{2} c^{5} d^{5} x^{2} + 672 b c^{6} d^{5} x^{3} + 336 c^{7} d^{5} x^{4}} + \frac {35 b^{2} c^{2} x^{2} \sqrt {b d + 2 c d x}}{21 b^{4} c^{3} d^{5} + 168 b^{3} c^{4} d^{5} x + 504 b^{2} c^{5} d^{5} x^{2} + 672 b c^{6} d^{5} x^{3} + 336 c^{7} d^{5} x^{4}} + \frac {42 b c^{3} x^{3} \sqrt {b d + 2 c d x}}{21 b^{4} c^{3} d^{5} + 168 b^{3} c^{4} d^{5} x + 504 b^{2} c^{5} d^{5} x^{2} + 672 b c^{6} d^{5} x^{3} + 336 c^{7} d^{5} x^{4}} + \frac {21 c^{4} x^{4} \sqrt {b d + 2 c d x}}{21 b^{4} c^{3} d^{5} + 168 b^{3} c^{4} d^{5} x + 504 b^{2} c^{5} d^{5} x^{2} + 672 b c^{6} d^{5} x^{3} + 336 c^{7} d^{5} x^{4}} & \text {for}\: c \neq 0 \\\frac {a^{2} x + a b x^{2} + \frac {b^{2} x^{3}}{3}}{\left (b d\right )^{\frac {9}{2}}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.66, size = 100, normalized size = 1.14 \begin {gather*} \frac {\sqrt {2 \, c d x + b d}}{16 \, c^{3} d^{5}} - \frac {3 \, b^{4} d^{2} - 24 \, a b^{2} c d^{2} + 48 \, a^{2} c^{2} d^{2} - 14 \, {\left (2 \, c d x + b d\right )}^{2} b^{2} + 56 \, {\left (2 \, c d x + b d\right )}^{2} a c}{336 \, {\left (2 \, c d x + b d\right )}^{\frac {7}{2}} c^{3} d^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.06, size = 92, normalized size = 1.05 \begin {gather*} \frac {-3\,a^2\,c^2-2\,a\,b^2\,c-14\,a\,b\,c^2\,x-14\,a\,c^3\,x^2+2\,b^4+14\,b^3\,c\,x+35\,b^2\,c^2\,x^2+42\,b\,c^3\,x^3+21\,c^4\,x^4}{21\,c^3\,d\,{\left (b\,d+2\,c\,d\,x\right )}^{7/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________